VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



array example \ returns random day of week

by Brent Embrey (9 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 30th April 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)

array example \ returns random day of week

Rate array example \ returns random day of week




Dim MyWeek, MyDay

MyWeek = Array("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun")

MyDay = MyWeek(Rnd * 6)

MsgBox MyDay

Download this snippet    Add to My Saved Code

array example \ returns random day of week Comments

No comments have been posted about array example \ returns random day of week. Why not be the first to post a comment about array example \ returns random day of week.

Post your comment

Subject:
Message:
0/1000 characters